import {WangPic,WangVid,RichData,ToSaveArticle,ReQueryArticle} from '../type/index'
//富文本参数
class IRichData implements RichData{
    preFileList: string[]=[];
    articleFileUrl: string[]=[];
    articleName: string="";
    articleAuthor: string="";
    deleteFileList: string[]=[];
    model: string="default"; 
     
}
class IToSaveAricle implements ToSaveArticle{
    articleName: string="";
    articleAuthor: string="";
    articleContent: string="";
    articleFileUrl: string[]=[];
}
class IReQueryArticle implements ReQueryArticle{
    articleAuthor: string="";
    articleContent: string="";
    articleId: string="";
    articleName: string="";
    gmtUpdate: string=""; 
}
//wangEidtor图片类型配置 根据 editor.getElemsByType("image") 查看具体参数
class IWangEPic implements WangPic{
    alt: string="";
    children: WangPic[]=[];
    href: string="";
    id: string="";
    //路径
    src: string="";
    //类型
    type: string="";
    //样式
    style: object={};
}
//wangEidtor视频类型配置 根据 editor.getElemsByType("video") 查看具体参数
class IWangEVid implements WangVid{
    id: string="";
    poster: string="";
    src: string="";
    type: string="";
    children: WangVid[]=[];
}


export {IWangEPic,IWangEVid,IRichData,IToSaveAricle,IReQueryArticle} 